import http from './http'

// 公众监督提交

const subSuperviseInfo = (data) => {
    return http.post(
        'api/supervise/subSuperviseInfo',
        {...data}
    )
}

// 互动参与 
const subInteractiveInfo = (data) => {
    return http.post(
        'api/interactive/subInteractiveInfo',
        {...data}
    )
}

// 事件上报
const setInspection = (data) => {
    return http.post(
        'api/inspection/setInspection',
        {...data}
    )
}

// 获取姓名和手机号
const getUserdetail = (token) => {
    return http.post(
        'http://manager.sdxing.cn/api/inspection/getUserdetail',
        {token}
    )
}
export {
    subSuperviseInfo,
    setInspection,
    subInteractiveInfo,
    getUserdetail
}